package edu.hwadee.BEIS.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;

import edu.hwadee.BEIS.entity.CountyUser;

import java.awt.print.Pageable;
import java.util.Set;

public interface CountyUserRepository extends JpaRepository<CountyUser, String> {

	CountyUser findOneByCountyUserId(String countyUserId);

	CountyUser findDistinctByAdminCode(String adminCode);

	Page<CountyUser> findAll(org.springframework.data.domain.Pageable pageable);

	Set<CountyUser> findByCountyUserIdIn(Set<String> countyUserIds);
}

